/*
 * @Description: 
 * @Date: 2021-10-22 15:45:45
 * @LastEditTime: 2022-01-26 17:31:40
 * @FilePath: /vue3-element-plus/src/utils/vue/vueUse.ts
 * @Author: Devin
 */
import ccMessage from '@/components/packages/cc-message';
import i18n from '@/i18n';
import router from '@/router';
import store from '@/store';
import ElementPlus from 'element-plus';
import CcElementPlus from '@/components/packages/index';
import { Common } from '@/components/index';


export function vueUseFun(app: any): void {
  app.use(router);
  app.use(ElementPlus, { size: 'small' });
  app.use(store)
  app.use(i18n);
  app.use(Common);
  app.use(CcElementPlus);
  app.use(ccMessage);
}